/*
 * Screen.hpp
 *
 *  Created on: 25.05.2014
 *      Author: philipp
 */

#ifndef Screen_HPP_
#define Screen_HPP_

#include <stdlib.h>

/*
 * abstraction layer to control the display connected via hdmi wire.
 */
class Screen {
private:

	/*
	 * private for singleton pattern.
	 */
	Screen();
	Screen(const Screen &);
	Screen(Screen &&);
	Screen &operator=(const Screen &);
	Screen &operator=(Screen &&);
	~Screen();
public:
	/*
	 * returns the screen. will initialize it if there is not yet an instance.
	 */
	static Screen &getInstance();

	/*
	 * turns the screen on.
	 */
	void on();

	/*
	 * turns the screen off.
	 */
	void off();
};

#endif /* Screen_HPP_ */
